package com.youzan.cloud.component.biz.member.linker.restlinker;

import com.youzan.cloud.component.biz.member.dto.linker.out.MemberCreateLinkerResult;
import com.youzan.cloud.connect.service.common.domain.BizServiceInfo;
import com.youzan.cloud.connect.service.sdk.ConnectServiceResponse;
import com.youzan.cloud.connect.service.sdk.DirectRestLinker;
import org.apache.http.HttpResponse;
import org.apache.http.client.methods.HttpUriRequest;
import java.io.IOException;
/**
 * @description: 会员创建linker
 * @author
 * @date
 * @version 1.0
 */
public abstract class MemberCreateRestLinker<T> implements DirectRestLinker<T, MemberCreateLinkerResult> {

    @Override
    public abstract HttpUriRequest buildHttpUriRequest(T t) ;

    @Override
    public abstract BizServiceInfo getBizServiceInfo() ;
    @Override
    public abstract ConnectServiceResponse<MemberCreateLinkerResult> handleResponse(HttpResponse httpResponse) throws IOException;
}
